import 'package:storage/generated/json/base/json_field.dart';
import 'package:storage/generated/json/bind_good_and_company_model_entity.g.dart';
import 'dart:convert';
export 'package:storage/generated/json/bind_good_and_company_model_entity.g.dart';

@JsonSerializable()
class BindGoodAndCompanyModelEntity {
	int? id;
	int? companyId;
	int? goodsId;
	double? goodsPrice;
	double? companyPrice;
	String? companyName;
	String? goodsName;
	String? goodsSpecification;

	BindGoodAndCompanyModelEntity({
		this.companyName,
		this.goodsName,
		this.goodsPrice,
		this.goodsId,
		this.companyPrice,
		this.id,
		this.companyId,
		this.goodsSpecification,
});

	factory BindGoodAndCompanyModelEntity.fromJson(Map<String, dynamic> json) => $BindGoodAndCompanyModelEntityFromJson(json);

	Map<String, dynamic> toJson() => $BindGoodAndCompanyModelEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}